package p_400

import com.sun.xml.internal.fastinfoset.util.StringArray
import java.net.DatagramPacket
import java.net.DatagramSocket

/**
 * 实现Discard 协议的UDP
 *
 */
class FastUDPDiscardServer(port: Int = 9) : UdpServer(port) {


    override fun response(socket: DatagramSocket, com: DatagramPacket) {
    }


}


fun main(args: StringArray) {
    val server = FastUDPDiscardServer()
    val thread = Thread(server)
    thread.start()
}
